[INFO] cloning repository https://github.com/vagola/key-clone
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vagola/key-clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvagola%2Fkey-clone", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvagola%2Fkey-clone'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 51071739e975b4d047d2827f6f6bc872dfb6752f
[INFO] building vagola/key-clone against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvagola%2Fkey-clone" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/vagola/key-clone on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-4/source/.cargo/config
[INFO] started tweaking git repo https://github.com/vagola/key-clone
[INFO] finished tweaking git repo https://github.com/vagola/key-clone
[INFO] tweaked toml for git repo https://github.com/vagola/key-clone written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/vagola/key-clone already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded simple_logger v1.7.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 752bc98151a77b3045f3083abdc48b2256b0c86cc41ada4fc98947108925ecef
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "752bc98151a77b3045f3083abdc48b2256b0c86cc41ada4fc98947108925ecef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "752bc98151a77b3045f3083abdc48b2256b0c86cc41ada4fc98947108925ecef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "752bc98151a77b3045f3083abdc48b2256b0c86cc41ada4fc98947108925ecef", kill_on_drop: false }`
[INFO] [stdout] 752bc98151a77b3045f3083abdc48b2256b0c86cc41ada4fc98947108925ecef
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4f522c70dc96f9b8895f12c0edd02347643a192e7c99621f0294f5846143bc3a
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "4f522c70dc96f9b8895f12c0edd02347643a192e7c99621f0294f5846143bc3a", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.76
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling colored v1.9.3
[INFO] [stderr]    Compiling chrono v0.4.15
[INFO] [stderr]    Compiling simple_logger v1.7.0
[INFO] [stderr]    Compiling key-clone v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/hotkey.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::um::winuser::{PeekMessageW, RegisterHotKey, UnregisterHotKey, PM_NOREMOVE};
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/hotkey.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::um::winuser::{MSG, PM_REMOVE, WM_HOTKEY};
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> src/main.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::os::windows::ffi::OsStringExt;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 | use winapi::shared::minwindef::{BOOL, LPARAM, LRESULT, TRUE, WPARAM};
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 | use winapi::shared::windef::HWND;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 | use winapi::um::handleapi::CloseHandle;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 | use winapi::um::tlhelp32::PROCESSENTRY32W;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 | use winapi::um::tlhelp32::{
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 | use winapi::um::winuser::{
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 | use winapi::um::winuser::{PostMessageW, KBDLLHOOKSTRUCT};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes`
[INFO] [stdout]   --> src/main.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use winapi::ctypes::c_int;
[INFO] [stdout]    |             ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterHotKey` in this scope
[INFO] [stdout]   --> src/hotkey.rs:29:31
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let result = unsafe { RegisterHotKey(null_mut(), self.id, 0, self.key as u32) };
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stdout]   --> src/hotkey.rs:44:43
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl HotKey {
[INFO] [stdout]    |     - help: you might be missing a type parameter: `<MSG>`
[INFO] [stdout] ...
[INFO] [stdout] 44 |         let mut maybe_msg = MaybeUninit::<MSG>::uninit();
[INFO] [stdout]    |                                           ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageW` in this scope
[INFO] [stdout]   --> src/hotkey.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |             PeekMessageW(
[INFO] [stdout]    |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_HOTKEY` in this scope
[INFO] [stdout]   --> src/hotkey.rs:50:17
[INFO] [stdout]    |
[INFO] [stdout] 50 |                 WM_HOTKEY,
[INFO] [stdout]    |                 ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_HOTKEY` in this scope
[INFO] [stdout]   --> src/hotkey.rs:51:17
[INFO] [stdout]    |
[INFO] [stdout] 51 |                 WM_HOTKEY,
[INFO] [stdout]    |                 ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PM_NOREMOVE` in this scope
[INFO] [stdout]   --> src/hotkey.rs:52:17
[INFO] [stdout]    |
[INFO] [stdout] 52 |                 PM_NOREMOVE,
[INFO] [stdout]    |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageW` in this scope
[INFO] [stdout]   --> src/hotkey.rs:64:17
[INFO] [stdout]    |
[INFO] [stdout] 64 |                 PeekMessageW(
[INFO] [stdout]    |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_HOTKEY` in this scope
[INFO] [stdout]   --> src/hotkey.rs:67:21
[INFO] [stdout]    |
[INFO] [stdout] 67 |                     WM_HOTKEY,
[INFO] [stdout]    |                     ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_HOTKEY` in this scope
[INFO] [stdout]   --> src/hotkey.rs:68:21
[INFO] [stdout]    |
[INFO] [stdout] 68 |                     WM_HOTKEY,
[INFO] [stdout]    |                     ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PM_REMOVE` in this scope
[INFO] [stdout]   --> src/hotkey.rs:69:21
[INFO] [stdout]    |
[INFO] [stdout] 69 |                     PM_REMOVE,
[INFO] [stdout]    |                     ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnregisterHotKey` in this scope
[INFO] [stdout]   --> src/hotkey.rs:84:31
[INFO] [stdout]    |
[INFO] [stdout] 84 |         let result = unsafe { UnregisterHotKey(null_mut(), self.key as i32) };
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `VK_F7` in this scope
[INFO] [stdout]   --> src/main.rs:28:42
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let mut run_hot_key = HotKey::new(1, VK_F7);
[INFO] [stdout]    |                                          ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowsHookExW` in this scope
[INFO] [stdout]   --> src/main.rs:38:21
[INFO] [stdout]    |
[INFO] [stdout] 38 |                     SetWindowsHookExW(WH_KEYBOARD_LL, Some(hook_callback), null_mut(), 0)
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WH_KEYBOARD_LL` in this scope
[INFO] [stdout]   --> src/main.rs:38:39
[INFO] [stdout]    |
[INFO] [stdout] 38 |                     SetWindowsHookExW(WH_KEYBOARD_LL, Some(hook_callback), null_mut(), 0)
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnhookWindowsHookEx` in this scope
[INFO] [stdout]   --> src/main.rs:46:25
[INFO] [stdout]    |
[INFO] [stdout] 46 |                         UnhookWindowsHookEx(hook);
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stdout]   --> src/main.rs:58:63
[INFO] [stdout]    |
[INFO] [stdout] 58 | unsafe extern "system" fn hook_callback(code: c_int, w_param: WPARAM, l_param: LPARAM) -> LRESULT {
[INFO] [stdout]    |                                                               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stdout]   --> src/main.rs:58:80
[INFO] [stdout]    |
[INFO] [stdout] 58 | unsafe extern "system" fn hook_callback(code: c_int, w_param: WPARAM, l_param: LPARAM) -> LRESULT {
[INFO] [stdout]    |                                                                                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stdout]   --> src/main.rs:58:91
[INFO] [stdout]    |
[INFO] [stdout] 58 | unsafe extern "system" fn hook_callback(code: c_int, w_param: WPARAM, l_param: LPARAM) -> LRESULT {
[INFO] [stdout]    |                                                                                           ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `KBDLLHOOKSTRUCT` in this scope
[INFO] [stdout]   --> src/main.rs:59:43
[INFO] [stdout]    |
[INFO] [stdout] 59 |     let hook_struct = *(l_param as *const KBDLLHOOKSTRUCT);
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_KEYDOWN` in this scope
[INFO] [stdout]   --> src/main.rs:63:36
[INFO] [stdout]    |
[INFO] [stdout] 63 |     if code >= 0 && w_param_u32 == WM_KEYDOWN
[INFO] [stdout]    |                                    ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_KEYUP` in this scope
[INFO] [stdout]   --> src/main.rs:64:27
[INFO] [stdout]    |
[INFO] [stdout] 64 |         || w_param_u32 == WM_KEYUP
[INFO] [stdout]    |                           ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_SYSKEYDOWN` in this scope
[INFO] [stdout]   --> src/main.rs:65:27
[INFO] [stdout]    |
[INFO] [stdout] 65 |         || w_param_u32 == WM_SYSKEYDOWN
[INFO] [stdout]    |                           ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_SYSKEYUP` in this scope
[INFO] [stdout]   --> src/main.rs:66:27
[INFO] [stdout]    |
[INFO] [stdout] 66 |         || w_param_u32 == WM_SYSKEYUP
[INFO] [stdout]    |                           ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetForegroundWindow` in this scope
[INFO] [stdout]   --> src/main.rs:68:25
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let main_hwnd = GetForegroundWindow();
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowThreadProcessId` in this scope
[INFO] [stdout]   --> src/main.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |         GetWindowThreadProcessId(main_hwnd, &mut main_pid);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope
[INFO] [stdout]   --> src/main.rs:94:25
[INFO] [stdout]    |
[INFO] [stdout] 94 |                         PostMessageW(hwnd, w_param as u32, key as usize, 0);
[INFO] [stdout]    |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CallNextHookEx` in this scope
[INFO] [stdout]    --> src/main.rs:101:5
[INFO] [stdout]     |
[INFO] [stdout] 101 |     CallNextHookEx(null_mut(), code, w_param, l_param)
[INFO] [stdout]     |     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:104:46
[INFO] [stdout]     |
[INFO] [stdout] 104 | unsafe fn find_hwnds_by_pid(pid: u32) -> Vec<HWND> {
[INFO] [stdout]     |                            -                 ^^^^ not found in this scope
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            help: you might be missing a type parameter: `<HWND>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:105:30
[INFO] [stdout]     |
[INFO] [stdout] 105 |     static mut HWND_VEC: Vec<HWND> = Vec::new();
[INFO] [stdout]     |                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:107:51
[INFO] [stdout]     |
[INFO] [stdout] 107 |     unsafe extern "system" fn enum_callback(hwnd: HWND, l_param: LPARAM) -> BOOL {
[INFO] [stdout]     |                                                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:107:66
[INFO] [stdout]     |
[INFO] [stdout] 107 |     unsafe extern "system" fn enum_callback(hwnd: HWND, l_param: LPARAM) -> BOOL {
[INFO] [stdout]     |                                                                  ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope
[INFO] [stdout]    --> src/main.rs:107:77
[INFO] [stdout]     |
[INFO] [stdout] 107 |     unsafe extern "system" fn enum_callback(hwnd: HWND, l_param: LPARAM) -> BOOL {
[INFO] [stdout]     |                                                                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowThreadProcessId` in this scope
[INFO] [stdout]    --> src/main.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 |         GetWindowThreadProcessId(hwnd, maybe_hwnd_pid.as_mut_ptr());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]    --> src/main.rs:118:9
[INFO] [stdout]     |
[INFO] [stdout] 118 |         TRUE
[INFO] [stdout]     |         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumWindows` in this scope
[INFO] [stdout]    --> src/main.rs:121:5
[INFO] [stdout]     |
[INFO] [stdout] 121 |     EnumWindows(Some(enum_callback), pid as isize);
[INFO] [stdout]     |     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in this scope
[INFO] [stdout]    --> src/main.rs:130:18
[INFO] [stdout]     |
[INFO] [stdout] 130 |     let handle = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPPROCESS` in this scope
[INFO] [stdout]    --> src/main.rs:130:43
[INFO] [stdout]     |
[INFO] [stdout] 130 |     let handle = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32W` in this scope
[INFO] [stdout]    --> src/main.rs:132:41
[INFO] [stdout]     |
[INFO] [stdout] 129 | unsafe fn find_process_name(pid: u32) -> Option<String> {
[INFO] [stdout]     |                            - help: you might be missing a type parameter: `<PROCESSENTRY32W>`
[INFO] [stdout] ...
[INFO] [stdout] 132 |     let mut maybe_entry = MaybeUninit::<PROCESSENTRY32W>::uninit();
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32W` in this scope
[INFO] [stdout]    --> src/main.rs:136:19
[INFO] [stdout]     |
[INFO] [stdout] 129 | unsafe fn find_process_name(pid: u32) -> Option<String> {
[INFO] [stdout]     |                            - help: you might be missing a type parameter: `<PROCESSENTRY32W>`
[INFO] [stdout] ...
[INFO] [stdout] 136 |         size_of::<PROCESSENTRY32W>() as u32,
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32FirstW` in this scope
[INFO] [stdout]    --> src/main.rs:141:8
[INFO] [stdout]     |
[INFO] [stdout] 141 |     if Process32FirstW(handle, maybe_entry.as_mut_ptr()) == TRUE {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]    --> src/main.rs:141:61
[INFO] [stdout]     |
[INFO] [stdout] 141 |     if Process32FirstW(handle, maybe_entry.as_mut_ptr()) == TRUE {
[INFO] [stdout]     |                                                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32NextW` in this scope
[INFO] [stdout]    --> src/main.rs:142:15
[INFO] [stdout]     |
[INFO] [stdout] 142 |         while Process32NextW(handle, maybe_entry.as_mut_ptr()) == TRUE {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]    --> src/main.rs:142:67
[INFO] [stdout]     |
[INFO] [stdout] 142 |         while Process32NextW(handle, maybe_entry.as_mut_ptr()) == TRUE {
[INFO] [stdout]     |                                                                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stdout]    --> src/main.rs:159:5
[INFO] [stdout]     |
[INFO] [stdout] 159 |     CloseHandle(handle);
[INFO] [stdout]     |     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in this scope
[INFO] [stdout]    --> src/main.rs:165:18
[INFO] [stdout]     |
[INFO] [stdout] 165 |     let handle = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPPROCESS` in this scope
[INFO] [stdout]    --> src/main.rs:165:43
[INFO] [stdout]     |
[INFO] [stdout] 165 |     let handle = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32W` in this scope
[INFO] [stdout]    --> src/main.rs:168:41
[INFO] [stdout]     |
[INFO] [stdout] 164 | unsafe fn find_processes_ids_by_name(name: &str) -> Vec<u32> {
[INFO] [stdout]     |                                     - help: you might be missing a type parameter: `<PROCESSENTRY32W>`
[INFO] [stdout] ...
[INFO] [stdout] 168 |     let mut maybe_entry = MaybeUninit::<PROCESSENTRY32W>::uninit();
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32W` in this scope
[INFO] [stdout]    --> src/main.rs:172:19
[INFO] [stdout]     |
[INFO] [stdout] 164 | unsafe fn find_processes_ids_by_name(name: &str) -> Vec<u32> {
[INFO] [stdout]     |                                     - help: you might be missing a type parameter: `<PROCESSENTRY32W>`
[INFO] [stdout] ...
[INFO] [stdout] 172 |         size_of::<PROCESSENTRY32W>() as u32,
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32FirstW` in this scope
[INFO] [stdout]    --> src/main.rs:175:8
[INFO] [stdout]     |
[INFO] [stdout] 175 |     if Process32FirstW(handle, maybe_entry.as_mut_ptr()) == TRUE {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]    --> src/main.rs:175:61
[INFO] [stdout]     |
[INFO] [stdout] 175 |     if Process32FirstW(handle, maybe_entry.as_mut_ptr()) == TRUE {
[INFO] [stdout]     |                                                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32NextW` in this scope
[INFO] [stdout]    --> src/main.rs:176:15
[INFO] [stdout]     |
[INFO] [stdout] 176 |         while Process32NextW(handle, maybe_entry.as_mut_ptr()) == TRUE {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]    --> src/main.rs:176:67
[INFO] [stdout]     |
[INFO] [stdout] 176 |         while Process32NextW(handle, maybe_entry.as_mut_ptr()) == TRUE {
[INFO] [stdout]     |                                                                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stdout]    --> src/main.rs:191:5
[INFO] [stdout]     |
[INFO] [stdout] 191 |     CloseHandle(handle);
[INFO] [stdout]     |     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope
[INFO] [stdout]    --> src/main.rs:149:46
[INFO] [stdout]     |
[INFO] [stdout] 149 |                 let process_name = OsString::from_wide(&process_name_full[..process_name_length])
[INFO] [stdout]     |                                              ^^^^^^^^^ function or associated item not found in `OsString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope
[INFO] [stdout]    --> src/main.rs:181:43
[INFO] [stdout]     |
[INFO] [stdout] 181 |             let process_name = &OsString::from_wide(&process_name_full[..process_name_length]);
[INFO] [stdout]     |                                           ^^^^^^^^^ function or associated item not found in `OsString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 66 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `key-clone`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "4f522c70dc96f9b8895f12c0edd02347643a192e7c99621f0294f5846143bc3a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4f522c70dc96f9b8895f12c0edd02347643a192e7c99621f0294f5846143bc3a", kill_on_drop: false }`
[INFO] [stdout] 4f522c70dc96f9b8895f12c0edd02347643a192e7c99621f0294f5846143bc3a
